<template>
	<div class="login">
		<!-- 图标 -->
		<div class="login-img">
			<img src="../assets/login/login-img.png" />
		</div>
		<!-- 表单 -->
		<div class="login-form">
			<div class="form-phone">
				<input type="text" placeholder="请输入手机号" />
			</div>
			<div class="form-phone" style="padding-top:16px ;">
				<input type="password" placeholder="请输入密码" />
			</div>
			<div class="form-phone" style="padding-top:16px ;">
				<input type="password" placeholder="确认密码" />
			</div>
		</div>
		<div class="login-btn">
			<button>注册</button>
		</div>
		<div class="login-warn">
			<router-link to="/login">
				<span>已有账号去登陆</span>
			</router-link>
		</div>
	</div>
</template>

<style lang="less" scoped>
	.login-img{
		text-align: center;
		margin-top: 120px;
	}
	.login-img img{
		width: 66px;
		height: 66px;
	}
	.login-form{
		text-align: center;
		margin-top: 40px;
		padding-left: 40px;
		padding-right: 40px;
	}
	.form-phone input{
		width: 100%;
		border: none;/* 去掉边框 */
		border: 1px solid #dadada;/* 设置边框 */
		height: 48px;
		border-radius: 5px;/* 圆角 */
		background:#f8f8f8;/* 背景色 */
		padding-left: 16px;/* 文字距离边框 */
		font-size: 16px;
		color: #333;
	}
	.login-btn{
		margin-top: 40px;
		padding-left: 40px;
		padding-right: 40px;
	}
	.login-btn button{
		border: none;/* 去掉边框 */
		background:#0091ff;
		color: white;
		height: 48px;
		width: 100%;
		border-radius: 4px;
	}
	.login-warn{
		text-align: center;/* 左右居中 */
		height: 52px;
	}
	.login-warn span{
		line-height: 52px;
		color: #999;
		font-size: 16px;
		padding-left: 12px;
		padding-right: 12px;
	}
</style>
